import request from '@/tools/requestNoRes'

export function getAuthCode() { //图像验证码
	return request.get("/captchaImage");
}
export function getCode(params) { //短信验证码
	return request.post("/sendSmsCode", params);
}
export function postLogin(params) { //短信验证码
	return request.post("/smsLogin", params);
}
export function getInfo() {
	return request.get(`/getInfo`);
}
export function PicList() { 
	return request.get(`/common/getcxImageSource`);
}
export function authTwo(phoneNumber){
	return request.get(`/h5/JSSDK/getOauth2AuthUrl`);
}